##------------------------------------------------------------------------------
##
##	yasco-1.0 - Yet Another (Java)Script Obfuscator
##	Copyright (C) 2008-2011 Oliver Schieche <post@oliver-schieche.de>
##
##	Makes use of Yapp
##	Parse::Yapp - Copyright (c) 1998-2001, Francois Desarmenien, all right reserved.
##
##	$Id: Logo.pm 8 2011-07-07 08:42:03Z goresplatter1844@gmail.com $
##------------------------------------------------------------------------------
package Yasco::Filter::Logo;

use strict;
use vars qw[@ISA];

use POSIX qw[strftime];
use Yasco::Filter::Result;
##------------------------------------------------------------------------------
BEGIN {
	require Yasco::Filter;
	@ISA = qw[Yasco::Filter];
}
##------------------------------------------------------------------------------
sub tokens {'ZZM_LOGO'}
##------------------------------------------------------------------------------
sub execute
	{}
##------------------------------------------------------------------------------
sub post_process
	{
		my $self = shift;
		my ($o,$code) = @_;
		my ($yr) = strftime '%Y', localtime time;
		$$code = <<EOT;
/* A real pain in the eye of the casual observer
** Brought to you by yasco. Copyright (C) 2008-$yr Oliver Schieche
** http://perfect-co.de/projects/yasco/
*/
$$code
EOT
	}
##------------------------------------------------------------------------------
1
